height=eval(input("请输入你的身高（米）："))
weight=eval(input("请输入你的体重（千克）："))
bmi=weight/pow(height,2)
print("BMI数值为：{:.2f}".format(bmi))
who=""
if bmi <18.5:
    who="过轻"
elif 18.5<=bmi<25:
    who="正常"
elif 25<=bmi<28:
    who="过重"
elif 28<=bmi<32:
    who="肥胖"
else:
    who="严重肥胖"
print("BMI指标为{}".format(who))
    
